|
SET SPRITE TEXTURE COORD
This command will modify the internal UV data of the specified sprite.
SET SPRITE TEXTURE COORD Sprite Number, Vertex Index, UValue, VValue
Sprite Number
Integer
The sprite number
Vertex Index
Integer
You can manipulate each vertex of the sprite by specifying a Vertex Index from 0 to 3
UValue
Float
The UValue specify a real value typically from 0.0 to 1.0
VValue
Float
The VValue specify a real value typically from 0.0 to 1.0
This command does not return a value.
You can manipulate each vertex of the sprite by specifying a Vertex Index from 0 to 3. The UValue and VValue specify a real value typically from 0.0 to 1.0. The first two parameters should be specified using integer values.
load image "man.bmp",1
cls
sprite 1,100,100,1
set sprite texture coord 1,0,0.5,0.5
do
loop
end
SPRITE Commands Menu
Index
|